import datetime
from datetime import timezone, timedelta

from sqlalchemy import Column, Integer, String, DateTime, JSON
from sqlalchemy.ext.declarative import declarative_base

Base = declarative_base()


def get_local_time():
    """获取本地时间"""
    return datetime.datetime.now(timezone(timedelta(hours=8)))
